package com.daidai.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("customer")
public class Customer {
    @TableId
    private Long cid;
    private String name;
    private Long telnum;
    private Integer grade;
    private Integer isdel;
    @TableField(exist = false)
    private Grade grade1;
}
